# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-cherrypy
pkgver=18.6.0
pkgrel=0
pkgdesc="A pythonic, object-oriented web development framework"
url="http://www.cherrypy.org"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-six"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/C/CherryPy/CherryPy-$pkgver.tar.gz"
builddir="$srcdir"/CherryPy-$pkgver
replaces="py-cherrypy" # Backwards compatibility
provides="py-cherrypy=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="cd33303fa9b9704ef427553091a6a6c2bbfea20e7d81acd2bcdc2855f8a36a084a0781bb19f3a084b24f0664bd7b318a667c8c79b5073381901acce4602de9d7  CherryPy-18.6.0.tar.gz"
